package cap2;

class testPresion {
public static void main (String a[]){
  PresionArterial mDia;
  PresionArterial mTarde;
  mDia = new PresionArterial (115,60);
  mTarde = new PresionArterial (110,62);
  int p1 = mDia.obtenerPulso();
  int p2 = mTarde.obtenerPulso();

  System.out.println (mDia.obtenerMaxima()+"-"+
    mDia.obtenerMinima()+" pulso "+p1);      
  System.out.println (mTarde.obtenerMaxima()+"-"+
    mTarde.obtenerMinima()+" pulso "+p2);
  }
}
